package org.iabako.shared.iservice.generic;

import com.google.gwt.user.client.rpc.AsyncCallback;
import org.iabako.shared.dto.SuggestItemDTO;
import org.iabako.shared.entity.business.AbstractEntity;

import java.util.List;

/**
 * Created by jose on 27/01/14.
 */
public interface SuggestServiceAsync {

    void getSuggestions(String req, AsyncCallback<List<SuggestItemDTO>> callback);

    void getByHiddenSelectionCode(String hiddenSelectionCode, AsyncCallback<AbstractEntity> iabakoAsyncCallback);
}
